package com.scoressystem.service;

import com.scoressystem.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherService {

    List<Teacher> findTeachers();

    Teacher getTeacherById(Integer teacherId);

    Teacher getTeacherByName(String userName, String password);

    int updatePwd(String name,String newPwd);
}
